package com.ruoyi.cs.service;

import com.ruoyi.common.core.domain.Response;
import com.ruoyi.cs.domain.TFringeBenefits;
import com.ruoyi.cs.domain.vo.TFringeBenefitsDailyVo;
import com.ruoyi.cs.domain.vo.TFringeBenefitsVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ITFringeBenefitsService {


    /**
     * 查询列表
     *
     * @param tFringeBenefits
     * @return
     */
    public List<TFringeBenefits> selectTFringeBenefitsList(TFringeBenefits tFringeBenefits);

    /**
     * 查询用户积分
     *
     * @param userId
     * @param beginTime
     * @param endTime
     * @return
     */
    public BigDecimal selectUserIntegral(String userId, String beginTime, String endTime);

    /**
     * 日常活动详情查询
     *
     * @param userId
     * @return
     */
    public TFringeBenefitsVo compensateInfo(String userId);


    public Response immediatelyReceive(String userId,Integer dateCode);

    /**
     * 领取记录
     *
     * @param userId
     * @return
     */
    public List<TFringeBenefits> receivingRecords(String userId);


//    /**
//     * 自动领取
//     *
//     * @param
//     * @return
//     */
//    public Response dailyBeneFitsAutoReceive();

}
